package com.nega.modules.service;

import com.nega.commons.model.MemberUser;

public interface MemberUserService {

    MemberUser getUserById(String id);

    MemberUser getUserByAccount(String account);

    MemberUser getUserByEmail(String email);

    MemberUser getUserByMobile(String mobile);

    MemberUser getUserByInstituion(String instituionCode);

    void insert(MemberUser user);

    void activeUserByEmail(String email);

    MemberUser getUserByUserCode(String invitationCode);

    void updateInvitaNumberByEmail(String email, int num);
}
